package com.tj.bigdata.syncblock.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 区块同步错误类型
 *
 * @author guoch
 */

@AllArgsConstructor
public enum ErrorStat {

    /**
     * 插入区块错误
     */
    BLOCK_ERROR(1),
    /**
     * 插入批量交易错误
     */
    TRANSACTION_ERROR(2);

    @Getter
    private final Integer errorCode;

}
